package com.endoc.designpattern.command.handlerCommand;

import com.endoc.designpattern.command.Command;
import com.endoc.designpattern.command.handler.DiscountHandler;
import com.endoc.designpattern.command.handler.NewsHandler;

/**
 *新闻指令
 */
public class NewsCommand implements Command {
   NewsHandler newsHandler = new NewsHandler();
    @Override
    public void execute() {
       newsHandler.getNews();
    }
}
